/*
API App Facebook (v1.0)
Thiago Bodruk
MarketBox Digital
loja.cibergeek.com.br
*/
$('document').ready(function (){
    $.getJSON('http://cibergeek.com.br/json.php?option=fb&callback=?', function (data){
        $('#cibergeek-gallery').html('');
        $.each(data, function (i, item){
			$('#cibergeek-gallery').append("<div class='product'><a href='"+item.link+"' title='"+item.name+"'><img src='"+item.img+"' alt='"+item.name+"' /><h2>"+item.name+"</h2></a><div class='price'>R$ "+item.price+"</div><div><a class='button' href='"+item.link+"'>Comprar</a></div></div>"				
			);
		});
	});
});